package com.nny.alarm.edit.adapter;

import android.content.Context;

import com.nny.alarm.edit.DialAdapter;
import com.uxwine.skin.Skin;

public class MonthAdapter extends DialAdapter
{	
	public MonthAdapter(Context ctx, int month)
	{
		super(ctx);
		setPosition(month);
		mnMax = 11;
	}
	
	@Override
	public String getMarkText(int index)
	{
		return (index + 1) + "";
	}

	@Override
	public int getMarkCount()
	{
		return 12;
	}

	@Override
	public int getBtnDrawable()
	{
		return Skin.getDrawable(mCtx, "dial_nav_month");
	}

	@Override
	public int getDialDrawable()
	{
		return Skin.getDrawable(mCtx, "dial_mark_12");
	}

	@Override
	public long getValue(int position)
	{
		return position;
	}
}
